package com.gift.recommendation.modules.admin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gift.recommendation.Base.PageParam;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zzh <2658137258@qq.com>
 * @date 2023/1/16
 */
@Data
public class FestivalListReq extends PageParam implements Serializable {

    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;
}
